import request from '@/utils/request'
import * as URL from '@/constants/api'

// 部门列表
export function getDepartmentList() {
  return request({
    url: URL.DEPARTMENT
  })
    .then(res => res.data.data.depts)
}
